﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace PM.Entity
{
    public class BankDeposit
    {
        public BankDeposit()
        {
            this.ClientId = string.Empty;
            this.BankId = string.Empty;
            this.AccNo = string.Empty;
            this.AccType = string.Empty;
            this.InvestValue = 0.00M;
            this.InvestDate = DateTime.MinValue;
            this.MaturityDate = DateTime.MinValue;
            this.Rate = 0.00M;
            this.Active = true;
            this.AccruedInterest = 0.00M;

        }

        public string ClientId { get; set; }
        public string BankId { get; set; }
        public string AccNo { get; set; }
        public string AccType { get; set; }
        public decimal InvestValue { get; set; }
        public DateTime InvestDate { get; set; }
        public DateTime MaturityDate { get; set; }
        public decimal Rate { get; set; }
        public Boolean Active { get; set; }
        public decimal AccruedInterest { get; set; }
    }
    public class BankDepositCollection : Collection<BankDeposit>
    {
        public BankDepositCollection()
        {
        }
    }
}
